#!/bin/bash
# ./skynet/skynet config/game_linux.cfg

this_path=$(cd `dirname $0`;pwd)  
  
cd $this_path  
echo $this_path  
current_date=`date -d "-1 day" "+%Y%m%d"`  
echo $current_date  
split -b 102400000 -d -a 4 output.log   log/log_${current_date}_  
  
cat /dev/null > output.log  